﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CSP.Model.CSP;

namespace CSP.Bll.IObjectBlls
{
    public interface IUserCreditBll : ICSPBll<UserCredit>, IDisposable
    {
        /// <summary>
        /// 根据用户名获取用户信誉对象
        /// </summary>
        /// <param name="userName">用户名</param>
        /// <returns></returns>
        UserCredit GetByUser(string userName);

        /// <summary>
        /// 创建用户信誉
        /// </summary>
        /// <param name="userCredit"></param>
        void Create(UserCredit userCredit);

    }
}
